import request from '../axios'
export default {
  getVideoList(current,limit,videoFrontVo){
    return request({
      url: `/video/front/page/${current}/${limit}`,
      method: 'post',
      data: videoFrontVo
    })
  },
  getPlayer(id){
    return request({
      url: `/video/front/getPlayer/${id}`,
      method: 'get',
    })
  },
  getUserInfo(id){
    return request({
      url: `/video/frontmember/getUserInfo/${id}`,
      method: 'get',
    })
  },
  updateUserInfo(id,memberInfo){
    return request({
      url: `/video/frontmember/updateUserInfo/${id}`,
      method: 'post',
      data: memberInfo
    })
  }
}
